package com.asia5b.a5mall.shop.activity

import com.alibaba.android.arouter.facade.annotation.Route
import com.asia5b.a5bmall.resource.ActCons
import com.asia5b.a5mall.middleware.base.SimpleActivity
import com.asia5b.a5mall.middleware.base.SimpleViewModel
import com.asia5b.a5mall.shop.R
import com.asia5b.a5mall.shop.databinding.ActivityCartBinding
import com.asia5b.a5mall.shop.fragment.ShopCartFragment

/**
 * Created by zhangyuncai on 2019/12/21.
 */
@Route(path = ActCons.CartActivity)
class CartActivity : SimpleActivity<SimpleViewModel, ActivityCartBinding>() {
    override val viewModelClazz: Class<SimpleViewModel>
        get() = SimpleViewModel::class.java

    override fun getDataBinding(): ActivityCartBinding {
        return ActivityCartBinding.inflate(layoutInflater)
    }
    override var sIsDark = true

    override fun initView() {
        supportFragmentManager?.beginTransaction()?.add(R.id.fragment, ShopCartFragment())?.commit()
    }

    override fun initEvent() {
    }

    override fun initData() {
        
    }


}
